package com.restaurant.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.restaurant.entity.Dept;
import com.restaurant.entity.Menu;
import com.restaurant.mapper.DeptMapper;
import com.restaurant.mapper.MenuMapper;
import com.restaurant.service.DeptService;
@Service("deptService")
public class DeptServiceImpl implements DeptService {
	@Autowired
	private DeptMapper DeptMapper;
	
	public DeptMapper getDeptMapper() {
		return DeptMapper;
	}

	public void setDeptMapper(DeptMapper deptMapper) {
		DeptMapper = deptMapper;
	}

	@Override
	public int insertSelective(Dept record) {
		return DeptMapper.insertSelective(record);
		
	}

	}

	


